﻿using AutoMapper;

namespace MemberManagement;

public class MemberManagementApplicationAutoMapperProfile : Profile
{
    public MemberManagementApplicationAutoMapperProfile()
    {
        CreateMap<MemberCreateParameter, Member>();
        CreateMap<MemberUpdateParameter, Member>();
        CreateMap<Member, MemberResult>().MapExtraProperties();
    }
}
